package com.keqing.tomato.database;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

public class TomatoHistory extends LitePalSupport {
    private  Integer id;
    private String title;
    //分钟
    private Integer duration;
    private Date startTime;
    private Date endTime;

    public TomatoHistory() {
    }

    public TomatoHistory(String title, Integer duration, Date startTime, Date endTime) {
        this.title = title;
        this.duration = duration;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
